/*
* Copyright (C) 2020 ~ 2024 chaigec All Rights Reserved.
*
* Author:     chaigec <chaigec@163.com>
* Maintainer: chaigec <chaigec@163.com>

 * Use of this source code is governed by MIT license that can be found in the
 * LICENSE file in the root of the source tree. All contributing project authors
 * may be found in the AUTHORS file in the root of the source tree.
*/

#ifndef MKGB_RTSP_H
#define MKGB_RTSP_H
#include "MkUtil/MkTypes.h"

class MkApi CMkGbRtsp
{
public:
    CMkGbRtsp();
    ~CMkGbRtsp() {}
    Uint32 AddContent(const MkString& strContent);
    Uint32 ToString(MkString& Content);
    const MkString& GetMethod() const { return m_Method; }
    const MkString& GetVersion() const { return m_Version; }
    const MkString& GetScale() const { return m_Scale; }
    const MkString& GetRange() const { return m_Range; }
    void SetMethod(const MkString& Method) { m_Method = Method; }
    void SetVersion(const MkString& Version) { m_Version = Version; }
    void SetScale(const MkString& Scale) { m_Scale = Scale; }
    void SetRange(const MkString& Range) { m_Range = Range; }
protected:
private:
    MkString    m_Method;
    MkString    m_Version;
    MkString    m_Scale;
    MkString    m_Range;
    Uint32      m_Cseq;
};

#endif